<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>二手交易</title>
    <link rel="stylesheet" type="text/css" href="../../../css/aui/aui.css" />
    <style>
        .aui-bar-nav {
            background: #0689FB;
        }

        .iconfont {
            margin: 0 auto;
            width: 1rem !important;
        }

        .aui-bar-tab .aui-bar-tab-label {
            font-size: 0.75rem;
        }

        #footer {
            background: #0689FB;
            color: white;
        }
    </style>
</head>

<body>
    <header class="aui-bar aui-bar-nav" id="header">
        <div class="aui-pull-left aui-btn">
            <span class="aui-iconfont aui-icon-left" onclick="close_w()"></span>
        </div>
        <div class="aui-title">二手交易</div>
    </header>
    <footer class="aui-bar aui-bar-tab" id="footer">
        <div class="aui-bar-tab-item" onclick="publish()">
            <div class="aui-bar-tab-label">发布信息</div>
        </div>
    </footer>
</body>
<script src="../../../script/api.js" charset="utf-8"></script>
<script src="../../../script/common/jquery-3.3.1.min.js" charset="utf-8"></script>
<script src="../../../script/common/common.js" charset="utf-8"></script>
<script src="../../../script/common/config.js" charset="utf-8"></script>
<script src="../../../script/common/vue.min.js" charset="utf-8"></script>
<script>
    apiready = function() {
        api.parseTapmode();

        var name = "type_frm";
        var url = "./type_frm.html";
        open_f(name, url);
    }

    function publish() {
        if (isLogin()) {
            var userInfo = get_local('userInfo');
            if (userInfo.user_status == 2) {
                openWin('publish_win', './publish_win.html')
            } else {
                $toast('请先完善基本资料');
            }
        }
    }
</script>

</html>
